home *** CD-ROM | disk | FTP | other *** search
- Path: nntp1.best.com!usenet
- From: javaprog@best.com (John Lockwood)
- Newsgroups: comp.lang.c++
- Subject: Re: File I/O using fwrite()
- Date: Thu, 18 Apr 1996 01:50:21 GMT
- Organization: Best Internet Communications
- Message-ID: <4l475g$htc@nntp1.best.com>
- References: <31758D70.1D38@vixa.voyager.net>
- NNTP-Posting-Host: javaprog.vip.best.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- David Wade <dwade@vixa.voyager.net> wrote:
-
- > For some reason, no matter what I do the information
- >is always written at the end of the file instead of where I want it to
- >replace...
-
- > f=_fsopen(".\\data\\weapons.dat", "ab+", SH_DENYNONE);
-
- The "a" in "ab+" stands for "append". Get rid of it.
-
-
- John
- Regards,
-
-
-
- John Lockwood
- john@wwg.com
- javaprog@best.com
- http://www.best.com/~javaprog
-
-